package com.ruicar.afs.cloud.channel.common.mq.sender;

import com.ruicar.afs.cloud.channel.cardealer.condition.CarDealerCondition;
import com.ruicar.afs.cloud.channel.witness.entity.ChannelWitnessInfoTemp;
import com.ruicar.afs.cloud.common.modules.dto.mq.affiliation.AffiliationRelInfo;
import com.ruicar.afs.cloud.common.mq.rabbit.anno.send.AfsRabbitMqClient;
import com.ruicar.afs.cloud.common.mq.rabbit.anno.send.AfsRabbitMqSender;
import com.ruicar.afs.cloud.common.mq.rabbit.message.AfsTransEntity;
import com.ruicar.afs.cloud.parameter.commom.entity.VeBrand;
import com.ruicar.afs.cloud.parameter.commom.entity.VeMain;

import java.util.List;

/**
 * @author Ice
 * @date 2020/8/22 16:06
 */
@AfsRabbitMqClient
public interface SenderChannelToCase {

    /**
     * 提交见证人到案件-消息发送
     *
     */
    @AfsRabbitMqSender(serverAlias = "${com.ruicar.afs.cloud.rabbitQueue.serverAlia}", queueName = "${com.ruicar.afs.cloud.rabbitQueue.queueName.channel}", exchangeName = "${com.ruicar.afs.cloud.rabbitQueue.exchangeName}")
    void sendWitnessToCase (AfsTransEntity<ChannelWitnessInfoTemp> witness);

    @AfsRabbitMqSender(serverAlias = "${com.ruicar.afs.cloud.rabbitQueue.serverAlia}", queueName = "${com.ruicar.afs.cloud.rabbitQueue.queueName.channel}", exchangeName = "${com.ruicar.afs.cloud.rabbitQueue.exchangeName}")
    void sendCommonCarDealerToCase (AfsTransEntity<CarDealerCondition> condition);
}
